package org.example.xsda.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

/**
 * 成绩信息 Excel DTO
 */
@Data
public class ScoreExcelDTO {
    
    @ExcelProperty(value = "学号", index = 0)
    @ColumnWidth(15)
    private String studentNo;
    
    @ExcelProperty(value = "姓名", index = 1)
    @ColumnWidth(10)
    private String studentName;
    
    @ExcelProperty(value = "课程名称", index = 2)
    @ColumnWidth(20)
    private String courseName;
    
    @ExcelProperty(value = "成绩", index = 3)
    @ColumnWidth(10)
    private String score;
    
    @ExcelProperty(value = "学分", index = 4)
    @ColumnWidth(10)
    private String credit;
    
    @ExcelProperty(value = "学期", index = 5)
    @ColumnWidth(15)
    private String semester;
    
    @ExcelProperty(value = "考试类型", index = 6)
    @ColumnWidth(12)
    private String examType;
    
    @ExcelProperty(value = "备注", index = 7)
    @ColumnWidth(30)
    private String remark;
    
    @ExcelProperty(value = "错误原因", index = 8)
    @ColumnWidth(40)
    private String errorReason;
    
    @ExcelProperty(value = "数据行号", index = 9)
    @ColumnWidth(10)
    private Integer rowNumber;
}

